using Aluetjen.EmailService.Domain.Infrastructure;
using Aluetjen.EmailService.Domain.Models.Message;
using Aluetjen.EmailService.Domain.Models.Pipeline;

namespace Aluetjen.EmailService.Domain.Services
{
    public class TransformationService : IPipelineService
    {
        private readonly IRepository<Transformation> _transformationRepository;

        public TransformationService(IRepository<Transformation> transformationRepository)
        {
            _transformationRepository = transformationRepository;
        }

        public decimal Priority { get { return 10; } }
        
        public void ProcessMessage(MailMessage message)
        {
            foreach (var transformation in _transformationRepository.All())
            {
            }
        }
    }
}